<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class CategoryTableSeeder extends Seeder
{
    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        \DB::table('category')->delete();

        \DB::table('category')->insert([
            [
                'id' => 1,
                'category' => '主机 (Desktop PC)',
                'remark' => NULL,
                'created_at' => '2025-03-15 20:46:42',
                'updated_at' => '2025-03-15 20:54:44'
            ],
            [
                'id' => 2,
                'category' => '笔记本 (Laptop/Notebook)',
                'remark' => NULL,
                'created_at' => '2025-03-15 20:46:49',
                'updated_at' => '2025-03-15 20:51:36'
            ],
            [
                'id' => 3,
                'category' => '扩展坞 (Docking Station/USB Hub)',
                'remark' => NULL,
                'created_at' => '2025-03-15 20:46:53',
                'updated_at' => '2025-03-15 20:54:32'
            ],
            [
                'id' => 4,
                'category' => 'Mini主机 (Mini PC)',
                'remark' => NULL,
                'created_at' => '2025-03-15 20:47:00',
                'updated_at' => '2025-03-15 20:51:53'
            ],
            [
                'id' => 5,
                'category' => '显示器 (Monitor)',
                'remark' => NULL,
                'created_at' => '2025-03-15 20:47:09',
                'updated_at' => '2025-03-15 20:51:21'
            ],
            [
                'id' => 6,
                'category' => '一体机 (All-in-One PC)',
                'remark' => NULL,
                'created_at' => '2025-03-15 20:47:26',
                'updated_at' => '2025-03-15 20:52:06'
            ],
            [
                'id' => 7,
                'category' => 'U盘 (USB Flash Drive)',
                'remark' => NULL,
                'created_at' => '2025-03-15 20:47:38',
                'updated_at' => '2025-03-15 20:54:21'
            ],
            [
                'id' => 8,
                'category' => '路由器 (Router)',
                'remark' => NULL,
                'created_at' => '2025-03-15 20:52:19',
                'updated_at' => '2025-03-15 20:52:19'
            ],
            [
                'id' => 9,
                'category' => '交换机 (Switch)',
                'remark' => NULL,
                'created_at' => '2025-03-15 20:52:27',
                'updated_at' => '2025-03-15 20:52:27'
            ],
            [
                'id' => 10,
                'category' => 'AP (无线接入点 - Access Point)',
                'remark' => NULL,
                'created_at' => '2025-03-15 20:52:36',
                'updated_at' => '2025-03-15 20:52:36'
            ]
        ]);
    }
} 